package com.tencent.feign;

import com.tencent.User;
import org.springframework.web.bind.annotation.PathVariable;

public class SentinelFallBack {
    public static User findUserByIdFallBack(@PathVariable("id") Long id, Throwable e){
        return new User(-1L, "sentinel的熔断2", "熔断啦");
    }
}
